//
//  MenuTableViewCellModel.m
//  MKUI
//
//  Created by 苏尚进 on 2020/8/22.
//Copyright © 2020 moon. All rights reserved.
//

#import "MenuTableViewCellModel.h"
#import "MenuTableViewCell.h"

@implementation MenuTableViewCellModel
- (id)init{
    if (self=[super init]) {
        self.cellClass = [MenuTableViewCell class];
    }
    return self;
}
- (id)initWithModelObject:(Menu *)modelObject{
	if (self=[self init]) {
		self.modelValue = modelObject;
        self.modelObject = modelObject;
	}
	return self;
}
@end


@interface MenuTableViewCellBase ()

@end

@implementation MenuTableViewCellBase
//- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
//	if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
//	}
//	return self;
//}
//- (void)layoutSubviews{
//	[super layoutSubviews];
//	//	CGRect bounds = self.contentView.bounds;
//}
//- (void)setCustomCellModel:(MenuTableViewCellModel *)customCellModel{
//	_customCellModel = customCellModel;
//	//	Menu *modelObject = customCellModel.modelObject;
//}
#pragma mark - protocol:MKUITableViewCellProtocol
- (MenuTableViewCellModel *)customCellModel{
    return self.cellModel;
}
@end

